package rrrmai.di.component;

import android.app.Application;
import android.arch.lifecycle.ViewModelProvider;
import android.support.v7.app.AppCompatActivity;

import com.f2prateek.rx.preferences2.RxSharedPreferences;

import javax.inject.Singleton;

import dagger.Component;
import rrrmai.di.module.ApplicationModule;
import rrrmai.room.database.AppDataBase;
import xgggh.activity.DIApplication;

/**
 * Created by summer on 2018/2/9.
 */

@SuppressWarnings("unused")
@Component(modules=ApplicationModule.class)
//@Singleton
public interface ApplicationComponent {
    DIApplication getApplicaiton();
    RxSharedPreferences getRxSharedPreferences();
    AppDataBase getAppDataBase();
}

